package net.stock.service;

import net.stock.db.UserAccess;

import java.util.List;
import java.util.Collection;

/**
 * @author naim
 * @date Dec 27, 2009
 */
public interface RequestDao {

    void save(UserAccess ua);
    UserAccess getUserAccess(String email);
    void allowAccess(List<String> emailAddressList);
    void denyAccess(List<String> emailAddressList);
    Collection<UserAccess> getPendingRequests();
    Collection<UserAccess> getApprovedRequests();
}
